package com.tanhua.db.api;

import com.tanhua.api.IdsimilarYouApi;
import com.tanhua.db.mapper.IdsimilarYouMapper;
import com.tanhua.model.pojo.IdsimilarYou;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@DubboService
public class IdsimilarYouApiImpl implements IdsimilarYouApi {

    @Autowired
    private IdsimilarYouMapper idsimilarYouMapper;

    @Override
    public List<IdsimilarYou> selectAll() {
        List<IdsimilarYou> idsimilarYous = idsimilarYouMapper.selectList(null);
        return idsimilarYous;
    }
}
